<?php

class Empeval_Methods_Response_GetUsersName {
	
	/**
	 *
	 * @var Empeval_Methods_Data_ResponseStatus
	 */
	public $responseStatus;
	
	/**
	 * 
	 * @var Empeval_Methods_Data_BaseUser[]
	 */
	public $users = array();
	
	/**
	 *
	 * @var Empeval_Methods_Data_BonusGroup[]
	 */
	public $bonusGroups = array();
	
	public function __construct($status, $users) {
		$this->responseStatus = new Empeval_Methods_Data_ResponseStatus($status);
		foreach ($users as $user) {
			$this->users[] = new Empeval_Methods_Data_BaseUser($user, true);
		}
	}
	
}